package com.ctshk.rpc.order.tour.req.custom;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 游客收款req
 * </p>
 *
 * @author 叶冠峰
 * @since 2021-02-26
 */
@Data
@ApiModel(value="游客收款req", description="游客收款req")
public class CustomOrderCollectionAddReq implements Serializable {

    @NotNull(message = "添加项不能为空")
    @ApiModelProperty(value = "添加项",required = true)
    private List<CustomOrderCollectionAddItemReq> items;

    @NotNull(message = "付款方ID不能为空")
    @ApiModelProperty(value = "付款方ID",required = true)
    private Long payerId;

    @ApiModelProperty(value = "银行优惠Id")
    private Long bankPreferenceId;


    @NotNull(message = "请选择是否使用pos机")
    @ApiModelProperty(value = "是否pos机（1：不使用，2：使用）",required = true)
    private Integer isPos;

    @NotNull(message = "订单ID不能为空")
    @ApiModelProperty(value = "订单ID",required = true)
    private Long orderId;

    @ApiModelProperty(value = "团期ID")
    private Long scheduleId;

    @NotNull(message = "请选择是否立即打印收据")
    @ApiModelProperty(value = "是否打印（0：否，1：是）",required = true)
    private Integer isPrint;

   /* @ApiModelProperty(value = "大客户ID（挂账）")
    private Long bigClientId;

    @ApiModelProperty(value = "大客户名称（挂账）")
    private String bigClientName;

    @ApiModelProperty(value = "部门ID（内部挂账）")
    private Long deptId;

    @ApiModelProperty(value = "部门名称（内部挂账）")
    private String deptName;*/

    @ApiModelProperty(value = "团号（使用内部挂账必传）")
    private String tripNumber;

    @ApiModelProperty(value = "收款方式主数据ID")
    private Long collectionWayId;
}
